VERSION 5.00
Object = "{736A8444-E374-41A8-B526-1B07FD2F3F5B}#1.0#0"; "BLacKPeaRLOCX.ocx"
Begin VB.Form FrmPindahClient 
   BackColor       =   &H00000000&
   BorderStyle     =   0  'None
   Caption         =   "CmdBatal"
   ClientHeight    =   2040
   ClientLeft      =   0
   ClientTop       =   -45
   ClientWidth     =   3360
   ForeColor       =   &H0000C000&
   Icon            =   "FrmPindahClient.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2040
   ScaleWidth      =   3360
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin BLacKPeaRLOCX.BLacKFrame BLacKFrame1 
      Height          =   2055
      Left            =   0
      TabIndex        =   5
      Top             =   0
      Width           =   3375
      _ExtentX        =   5953
      _ExtentY        =   3625
      BackColor1      =   0
      BackColor2      =   4210752
      Caption         =   "Pindah Client"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   49152
      TitleColor1     =   0
      TitleColor2     =   4210752
      TitleGradient   =   2
      TitleHeight     =   350
      BorderColor     =   49152
      BorderWidth     =   2
      Begin VB.TextBox TxtNoKe 
         BackColor       =   &H00404040&
         BorderStyle     =   0  'None
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000C000&
         Height          =   250
         Left            =   2550
         TabIndex        =   1
         Top             =   645
         Width           =   495
      End
      Begin VB.TextBox TxtNoDari 
         BackColor       =   &H00404040&
         BorderStyle     =   0  'None
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000C000&
         Height          =   250
         Left            =   1090
         TabIndex        =   0
         Top             =   645
         Width           =   495
      End
      Begin BLacKPeaRLOCX.ButtonNix CmdBatal 
         Height          =   375
         Left            =   1920
         TabIndex        =   3
         Top             =   1440
         Width           =   1215
         _ExtentX        =   2143
         _ExtentY        =   661
         BTYPE           =   5
         TX              =   "Batal"
         ENAB            =   -1  'True
         BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         COLTYPE         =   2
         FOCUSR          =   0   'False
         BCOL            =   1184274
         BCOLO           =   16777215
         FCOL            =   49152
         FCOLO           =   49152
         MCOL            =   12632256
         MPTR            =   1
         MICON           =   "FrmPindahClient.frx":B532
         UMCOL           =   -1  'True
         SOFT            =   0   'False
         PICPOS          =   0
         NGREY           =   0   'False
         FX              =   0
         HAND            =   0   'False
         CHECK           =   0   'False
         VALUE           =   0   'False
      End
      Begin BLacKPeaRLOCX.ButtonNix cmdPindah 
         Height          =   375
         Left            =   360
         TabIndex        =   2
         Top             =   1440
         Width           =   1215
         _ExtentX        =   2143
         _ExtentY        =   661
         BTYPE           =   5
         TX              =   "Pindah"
         ENAB            =   -1  'True
         BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         COLTYPE         =   2
         FOCUSR          =   0   'False
         BCOL            =   1184274
         BCOLO           =   16777215
         FCOL            =   49152
         FCOLO           =   49152
         MCOL            =   12632256
         MPTR            =   1
         MICON           =   "FrmPindahClient.frx":B54E
         UMCOL           =   -1  'True
         SOFT            =   0   'False
         PICPOS          =   0
         NGREY           =   0   'False
         FX              =   0
         HAND            =   0   'False
         CHECK           =   0   'False
         VALUE           =   0   'False
      End
      Begin VB.Label lblclient 
         Height          =   255
         Left            =   1080
         TabIndex        =   8
         Top             =   2400
         Width           =   615
      End
      Begin VB.Label lblstat 
         Height          =   255
         Left            =   360
         TabIndex        =   7
         Top             =   2400
         Width           =   615
      End
      Begin VB.Shape Shape1 
         BackColor       =   &H00004040&
         BackStyle       =   1  'Opaque
         BorderColor     =   &H00C0FFC0&
         Height          =   345
         Left            =   2520
         Shape           =   4  'Rounded Rectangle
         Top             =   600
         Width           =   570
      End
      Begin VB.Shape Shape10 
         BackColor       =   &H00004040&
         BackStyle       =   1  'Opaque
         BorderColor     =   &H00C0FFC0&
         Height          =   345
         Left            =   1080
         Shape           =   4  'Rounded Rectangle
         Top             =   600
         Width           =   570
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         Caption         =   "Ke Client"
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   -1  'True
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000C000&
         Height          =   255
         Left            =   1780
         TabIndex        =   4
         Top             =   600
         Width           =   735
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "Dari Client"
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   -1  'True
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000C000&
         Height          =   255
         Left            =   120
         TabIndex        =   6
         Top             =   600
         Width           =   855
      End
   End
End
Attribute VB_Name = "FrmPindahClient"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public sockdari As Long
Public sockke As Long
Public mulai_dari As Date
Public jenis_dari As String
Public user_dari As String
Public StPrint As String
Public clienttime As String
Private Sub CmdBatal_Click()
    Unload Me
End Sub

Private Sub CmdPindah_Click()
On Error GoTo hell
    If FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 3) = setAktif And FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 3) = setBebas Then
        'cek open sock client dipindah
        rec.Open "SELECT ip.*,port.port FROM ip,port WHERE ip.ip = port.ip AND ip.no_client = " & Val(TxtNoDari.Text), conn, adOpenStatic, adLockOptimistic
        If Not rec.RecordCount = 0 Then
            sockdari = rec(2)
        Else
            sockdari = 999
        End If
        rec.Close
        'cek open sock client kepindah
        rec.Open "SELECT ip.*,port.port FROM ip,port WHERE ip.ip = port.ip AND ip.no_client = " & Val(TxtNoKe.Text), conn, adOpenStatic, adLockOptimistic
        If Not rec.RecordCount = 0 Then
            sockke = rec(2)
        Else
            sockke = 999
        End If
        rec.Close
        'ambil mulai dan jenis
        rec.Open "SELECT aktifitas.* FROM aktifitas WHERE aktifitas.no_client = " & Val(TxtNoDari.Text), conn, adOpenStatic, adLockOptimistic
        'buat terpindah jadi bebas
        If Not rec.RecordCount = 0 Then
           clienttime = rec(6)
            StPrint = rec(5)
            mulai_dari = rec(4)
            jenis_dari = rec(2)
            user_dari = rec(3)
            rec(1) = "bebas"
            rec.Update
        End If
        rec.Close
        'tulis aktifitas dalam db
        rec.Open "SELECT aktifitas.* FROM aktifitas WHERE aktifitas.no_client = " & Val(TxtNoKe.Text), conn, adOpenStatic, adLockOptimistic
        If Not rec.RecordCount = 0 Then
            rec(0) = Val(TxtNoKe.Text)
            rec(6) = clienttime
            rec(5) = StPrint
            rec(4) = mulai_dari
            rec(2) = jenis_dari
            rec(3) = user_dari
            rec(1) = "aktif"
            rec.Update
        Else
            rec.AddNew
            rec(0) = Val(TxtNoKe.Text)
            rec(6) = clienttime
            rec(5) = StPrint
            rec(4) = mulai_dari
            rec(2) = jenis_dari
            rec(3) = user_dari
            rec(1) = "aktif"
            rec.Update
        End If
        rec.Close
        
        'jika member ubah ws
        If lblstat.Caption = "member" Then
        rec.Open "Select member.* from member where member.user='" & lblclient.Caption & "'", conn, adOpenStatic
        If rec.RecordCount = 0 Then
        rec.Close
        Else
        rec(7) = TxtNoKe.Text
        rec.Update
        rec.Close
        End If
        End If
        
        'ubah grid pindahdari
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 2) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 2)
        FrmMain.MSFlexGrid.Col = 1
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 2
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 3
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 4
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 5
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 6
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 7
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 8
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 9
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.Col = 10
        FrmMain.MSFlexGrid.Row = Val(TxtNoKe)
        FrmMain.MSFlexGrid.CellBackColor = &H8000&
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 3) = "pindah"
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 4) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 4)
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 5) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 5)
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 6) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 6)
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 7) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 7)
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 8) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 8)
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 9) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 9)
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoKe.Text), 10) = FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 10)

        'ubah grid pindahke
        FrmMain.MSFlexGrid.Col = 1
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 2
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 3
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 4
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 5
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 6
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 7
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 8
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.Col = 9
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
         FrmMain.MSFlexGrid.Col = 10
        FrmMain.MSFlexGrid.Row = Val(TxtNoDari)
        FrmMain.MSFlexGrid.CellBackColor = &HC0&
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 3) = setBebas
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 2) = ""
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 4) = ""
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 5) = ""
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 6) = ""
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 7) = ""
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 8) = ""
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 9) = "No"
        FrmMain.MSFlexGrid.TextMatrix(Val(TxtNoDari.Text), 10) = ""

        If Not sockdari = 999 Then
            Call Menuju
        End If
        If Not sockke = 999 Then
            Call Tertuju
        End If
    End If
    Call pindahcl
    Unload Me
IfNoErr:
Exit Sub
hell:
   If Err.Number = 381 Then
MsgBox "Maaf WorkStation: " & TxtNoKe.Text & "  tidak ada. Maksimal WorkStation anda adalah :" & ClientMax & "", vbInformation, "False WorkStation "
Else
'MsgBox "An Error In " & Me.Name & ". See Error.log for detail", vbCritical, "Error Handling"
 TulisError Err.Description, Err.Number, "cmdPindah", Me.Name
 Resume IfNoErr
End If
End Sub
Private Sub Menuju()
On Error GoTo hell
    If FrmMain.Winsock(sockdari).State = sckConnected Then
        FrmMain.Winsock(sockdari).SendData "moveto|_|_|_|_|_|_|"
    End If
IfNoErr:
Exit Sub
hell:
'MsgBox "An Error In " & Me.Name & ". See Error.log for detail", vbCritical, "Error Handling"
 TulisError Err.Description, Err.Number, "Menuju", Me.Name
 Resume IfNoErr
End Sub
Private Sub Tertuju()
On Error GoTo hell
    If FrmMain.Winsock(sockke).State = sckConnected Then
        FrmMain.Winsock(sockke).SendData "movefrom|" & mulai_dari & "|" & jenis_dari & "|_|_|_|_|"
        FrmMain.Winsock(sockke).Close
    End If
IfNoErr:
Exit Sub
hell:
'MsgBox "An Error In " & Me.Name & ". See Error.log for detail", vbCritical, "Error Handling"
 TulisError Err.Description, Err.Number, "Tertuju", Me.Name
 Resume IfNoErr
End Sub

Private Sub Form_Load()
StyleS
End Sub

Private Sub TxtNoDari_Change()
If Val(TxtNoDari.Text) > ClientMax Then
TxtNoDari.Text = ClientMax
End If

End Sub

Private Sub TxtNoDari_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
TxtNoKe.SetFocus
End If
End Sub

Private Sub TxtNoKe_Change()
If Val(TxtNoKe.Text) > ClientMax Then
TxtNoKe.Text = ClientMax
End If
End Sub

Private Sub TxtNoKe_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
CmdPindah_Click
End If
End Sub
Private Sub StyleS()
On Error Resume Next
Dim ctrl As Control
For Each ctrl In Controls
If FrmStyles.txtnamastyle.Text = "Default" Then
Exit Sub
Else
    If (TypeOf ctrl Is ButtonNix) And _
        ctrl.Name <> "cmdSwitchStyle" Then
        ctrl.ButtonType = FrmStyles.txtlButtonType.Text
        ctrl.ColorScheme = FrmStyles.txtlColorScheme.Text
        ctrl.Backcolor = FrmStyles.txtlBackcolor.Text
        ctrl.BackOver = FrmStyles.txtlBackOver.Text
        ctrl.Forecolor = FrmStyles.txtlForecolor.Text
        ctrl.ForeOver = FrmStyles.txtlForeOver.Text
       
    End If
        If (TypeOf ctrl Is BLacKFrame) And _
        ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.BackColor1 = FrmStyles.frameBackColor1.Text
         ctrl.BackColor2 = FrmStyles.frameBackColor2.Text
         ctrl.BorderColor = FrmStyles.frameBorderColor.Text
         ctrl.Forecolor = FrmStyles.frameForecolor.Text
         ctrl.TitleColor1 = FrmStyles.frameTitleColor1.Text
         ctrl.TitleColor2 = FrmStyles.frameTitleColor2.Text
         If FrmStyles.frameBackGradient.Text = 0 Then
         ctrl.BackGradient = None
         ElseIf FrmStyles.frameBackGradient.Text = 1 Then
         ctrl.BackGradient = Vertical
         ElseIf FrmStyles.frameBackGradient.Text = 2 Then
         ctrl.BackGradient = Horizontal
         End If
         
         If FrmStyles.Frametitlegradient.Text = 0 Then
         ctrl.TitleGradient = None
         ElseIf FrmStyles.Frametitlegradient.Text = 1 Then
         ctrl.TitleGradient = Vertical
         ElseIf FrmStyles.Frametitlegradient.Text = 2 Then
         ctrl.TitleGradient = Horizontal
         End If

    End If
        If (TypeOf ctrl Is BLacKText) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Forecolor = FrmStyles.TForecolor.Text
         ctrl.Backcolor = FrmStyles.TBackcolor.Text
         ctrl.BackColorMain = FrmStyles.TBackColorMain.Text
         ctrl.BorderColor = FrmStyles.TBorderColor.Text
         ctrl.FocusBackColor = FrmStyles.TFocusBackColor.Text
         ctrl.FocusBackMainColor = FrmStyles.TFocusBackMainColor.Text
         ctrl.FocusBorderColor = FrmStyles.TFocusBorderColor.Text
         ctrl.FocusForeColor = FrmStyles.TFocusForeColor.Text
    End If
        If (TypeOf ctrl Is MSFlexGrid) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Backcolor = FrmStyles.GDBackcolor.Text
         ctrl.BackColorBkg = FrmStyles.GDBackColorBkg.Text
         ctrl.BackColorSel = FrmStyles.GDBackColorSel.Text
         ctrl.BackColorFixed = FrmStyles.GDBackColorFixed.Text
         ctrl.ForeColorSel = FrmStyles.GDForeColorSel.Text
         ctrl.Forecolor = FrmStyles.GDForecolor.Text
         ctrl.ForeColorFixed = FrmStyles.GDForeColorFixed.Text
         ctrl.GridColor = FrmStyles.GDGridColor.Text
         ctrl.GridColorFixed = FrmStyles.GDGridColorFixed.Text
    End If
        If (TypeOf ctrl Is TextBox) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Forecolor = FrmStyles.lbltextfore.Text
         ctrl.Backcolor = FrmStyles.lbltextback.Text
    End If
        If (TypeOf ctrl Is ComboBox) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Forecolor = FrmStyles.cboForeColor.Text
         ctrl.Backcolor = FrmStyles.cboBackcolor.Text
    End If
        If (TypeOf ctrl Is Label) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Forecolor = FrmStyles.lblForeColor.Text
    End If
        If (TypeOf ctrl Is RichTextBox) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Backcolor = FrmStyles.RcBackcolor.Text
    End If
    
            If (TypeOf ctrl Is OptionButton) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Forecolor = FrmStyles.opForecolor.Text
         ctrl.Backcolor = FrmStyles.opBackcolor.Text
    End If
            If (TypeOf ctrl Is ListView) And _
         ctrl.Name <> "cmdSwitchStyle" Then
         ctrl.Backcolor = FrmStyles.LBackColor.Text
    End If
    Me.Backcolor = FrmStyles.WFore.Text
    End If
Next ctrl
End Sub

Private Sub TxtNoDari_GotFocus()
TxtNoDari.Backcolor = &H0&
TxtNoDari.Forecolor = vbWhite
End Sub
Private Sub TxtNoDari_LostFocus()
TxtNoDari.Backcolor = &H404040
TxtNoDari.Forecolor = &HC000&
End Sub
Private Sub TxtNoKe_GotFocus()
TxtNoKe.Backcolor = &H0&
TxtNoKe.Forecolor = vbWhite
End Sub
Private Sub TxtNoKe_LostFocus()
TxtNoKe.Backcolor = &H404040
TxtNoKe.Forecolor = &HC000&
End Sub


